package com.casic.ops.entity.vo.pipeline;

import com.casic.ops.entity.vo.ApplicationPipelineStatisticsDetailVO;
import lombok.Data;

import java.util.List;

@Data
public class PipelineStatisticsViewVO {
    /**
     * 平均执行时长ms (成功)
     */
    private Long avgUsed;

    /**
     * 平均执行时长 (成功)
     */
    private String avgUsedInterval;

    /**
     *流水线节点操作
     */
    private List<PipelineStaticsNodeDetailVO> details;

    /**
     * 流水线执行记录
     */
    private List<PipelineStaticsLoggerVO> pipelineStaticsLoggerVOList;

    @Override
    public String toString() {
        return "PipelineStatisticsViewVO{" +
                "avgUsed=" + avgUsed +
                ", avgUsedInterval='" + avgUsedInterval + '\'' +
                ", details=" + details.toString() +
                ", pipelineStaticsLoggerVOList=" + pipelineStaticsLoggerVOList.toString() +
                '}';
    }
}
